package me.zingon.MapDemo.dao;

import me.zingon.MapDemo.model.BusLine;
import me.zingon.MapDemo.model.VehiclePos;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.access.method.P;

import java.util.List;

/**
 * Created by ZTC on 3/23/2017.
 */
public interface BusLineDao {
    int saveLines(@Param("lines") List<BusLine> lines);
    List<BusLine> getBusLineByName(@Param("name") String name);
    int saveVehiclePos(@Param("pos") List<VehiclePos> pos);
    List<VehiclePos> getNewPos();
}
